package com.cutePet.pet.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.cutePet.pet.dao.BusinessScopeDao;
import com.cutePet.pet.domain.BusinessScopeDO;
import com.cutePet.pet.service.BusinessScopeService;



@Service
public class BusinessScopeServiceImpl implements BusinessScopeService {
	@Autowired
	private BusinessScopeDao businessScopeDao;
	
	@Override
	public BusinessScopeDO get(Long businessScopeId){
		return businessScopeDao.get(businessScopeId);
	}
	
	@Override
	public List<BusinessScopeDO> list(Map<String, Object> map){
		return businessScopeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return businessScopeDao.count(map);
	}
	
	@Override
	public int save(BusinessScopeDO businessScope){
		return businessScopeDao.save(businessScope);
	}
	
	@Override
	public int update(BusinessScopeDO businessScope){
		return businessScopeDao.update(businessScope);
	}
	
	@Override
	public int remove(Long businessScopeId){
		return businessScopeDao.remove(businessScopeId);
	}
	
	@Override
	public int batchRemove(Long[] businessScopeIds){
		return businessScopeDao.batchRemove(businessScopeIds);
	}
	
}
